2000W / 48V LLC Battery-Charger  V1.00
XMC_UART_CH_CONFIG Struct Reference

#include <xmc_uart.h>

Public Attributes

uint32_t baudrate
 
uint8_t data_bits
 
uint8_t frame_length
 
uint8_t stop_bits
 
uint8_t oversampling
 
XMC_USIC_CH_PARITY_MODE_t parity_mode
 

Detailed Description

UART initialization structure

Definition at line 219 of file xmc_uart.h.

Member Data Documentation

◆ baudrate

uint32_t XMC_UART_CH_CONFIG::baudrate

Desired baudrate. Range: minimum= 100, maximum= (fPERIPH * 1023)/(1024 * oversampling)

Definition at line 221 of file xmc_uart.h.

Referenced by L0_USART_Config(), and XMC_UART_CH_Init().

◆ data_bits

uint8_t XMC_UART_CH_CONFIG::data_bits

Number of bits for the data field. Value configured as USIC channel word length.
Range: minimum= 1, maximum= 16

Definition at line 222 of file xmc_uart.h.

Referenced by L0_USART_Config(), and XMC_UART_CH_Init().

◆ frame_length

uint8_t XMC_UART_CH_CONFIG::frame_length

Indicates nmber of bits in a frame. Configured as USIC channel frame length.
Range: minimum= 1, maximum= 63

Definition at line 224 of file xmc_uart.h.

Referenced by L0_USART_Config(), and XMC_UART_CH_Init().

◆ oversampling

uint8_t XMC_UART_CH_CONFIG::oversampling

Number of samples for a symbol(DCTQ).Range: minimum= 1, maximum= 32

Definition at line 227 of file xmc_uart.h.

Referenced by L0_USART_Config(), and XMC_UART_CH_Init().

◆ parity_mode

XMC_USIC_CH_PARITY_MODE_t XMC_UART_CH_CONFIG::parity_mode

◆ stop_bits

uint8_t XMC_UART_CH_CONFIG::stop_bits

Number of stop bits. Range: minimum= 1, maximum= 2

Definition at line 226 of file xmc_uart.h.

Referenced by L0_USART_Config(), and XMC_UART_CH_Init().


The documentation for this struct was generated from the following file: